package com.handong.handserialprogram.threadpool;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Created by Administrator on 2016/12/20.
 */

public class WorkExecutePool {

    private static ExecutorService mExecutor = Executors.newFixedThreadPool(2);

    public static void execute(Runnable runnable){
        mExecutor.execute(runnable);
    }
}
